import { Component, Input, OnInit } from '@angular/core';
import { GraphService } from 'src/app/util/graph.service';
import { Parent } from '../parent';

@Component({
  selector: 'wf-text',
  templateUrl: './text.component.html',
  styleUrls: ['./text.component.less']
})
export class TextComponent extends Parent implements OnInit {
  title: string | undefined;
  content: string | undefined;

  constructor(public graphService: GraphService) {
    super(graphService);
  }

  ngOnInit(): void {
    console.log('eeeee', this.currentNode);
    console.log('2222', this.graph);
  }

}
